﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Company.Database.Base.Entities
{
    /// <summary>
    /// 用户表实体
    /// </summary>
    [Table(nameof(UserEntity))]
    public class UserEntity
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]//自增
        public int Id { get; set; }
        public string Name { get; set; }
        public string Password { get; set; }
        public int HospitalId { get; set; }
    }
}
